package cc.autoapi.pucong.auto.flow.core.qlexpress.entity;

import cc.autoapi.pucong.auto.flow.core.qlexpress.enumSelf.NodeTypeEnum;
import cn.hutool.core.lang.UUID;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class EntityBase {

    private String uuid;

    private NodeTypeEnum nodeType;

    public EntityBase(NodeTypeEnum nodeType) {
        setUuid(UUID.fastUUID().toString());
        this.nodeType = nodeType;
    }
}
